<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>	
			var person={name:"老李",age:59,like:["旅游","运动"]};  //对象
			var jsonPerson=JSON.stringify(person);
			console.log(jsonPerson);
			console.log(typeof jsonPerson);		
		</script>
	</head>
	<body>
	</body>
</html>
